package com.njupt.simulation.controller;

import com.njupt.simulation.entity.LeoSatellite;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.njupt.simulation.service.LeoSatelliteService;

@RestController
@RequestMapping("/1")
public class LeoSatelliteController {

    @Autowired
    private LeoSatelliteService leoSatelliteService;

//    @GetMapping ("/2")
//    public String test(Integer id){
//        return leoSatelliteService.findname(id);
//    }

}
